-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kv/client: fix gRPC connection pool, don't close conn when meeting error #1196
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
amyangfei
added
status/ptal
Could you please take a look?
type/bugfix
This PR fixes a bug.
needs-cherry-pick-release-4.0
Should cherry pick this PR to release-4.0 branch.
labels
Dec 11, 2020
/run-all-tests |
LGTM |
LGTM |
ti-srebot
added
status/LGT2
Indicates that a PR has LGTM 2.
and removed
status/LGT1
Indicates that a PR has LGTM 1.
labels
Dec 11, 2020
ti-srebot
approved these changes
Dec 11, 2020
/merge |
ti-srebot
added
the
status/can-merge
Indicates a PR has been approved by a committer.
label
Dec 11, 2020
/run-all-tests |
@amyangfei merge failed. |
/run-integration-tests |
1 similar comment
/run-integration-tests |
Codecov Report
@@ Coverage Diff @@
## master #1196 +/- ##
================================================
+ Coverage 45.8436% 45.9111% +0.0675%
================================================
Files 112 112
Lines 11729 11727 -2
================================================
+ Hits 5377 5384 +7
+ Misses 5748 5740 -8
+ Partials 604 603 -1 |
ti-srebot
pushed a commit
to ti-srebot/ticdc
that referenced
this pull request
Dec 11, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
2 tasks
cherry pick to release-4.0 in PR #1198 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/ticdc
Issues or PRs related to TiCDC.
needs-cherry-pick-release-4.0
Should cherry pick this PR to release-4.0 branch.
priority/P0
The issue has P0 priority.
status/can-merge
Indicates a PR has been approved by a committer.
status/LGT2
Indicates that a PR has LGTM 2.
status/ptal
Could you please take a look?
type/bug
The issue is confirmed as a bug.
type/bugfix
This PR fixes a bug.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
In an internal test, TiCDC can't recover from a TiKV crash or recovery.
We meet endless following errors after killing a TiKV, where
store=172.16.4.197:21160
is the killed TiKV server.On the other side, recovers a TiKV server meets following error
What is changed and how it works?
We don't close gPRC conn here, let it goes into TransientFailure. If the store recovers, the gPRC conn can be reused.
TODO:
Check List
Tests
Release note